package cn.spike.order.service;

import cn.spike.basic.util.PageList;
import cn.spike.order.domain.OrderPetAcquisition;
import cn.spike.basic.service.BaseService;
import cn.spike.order.dto.OrderDto;
import cn.spike.order.query.OrderPetAcquisitionQuery;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Spike
 * @since 2023-02-21
 */
public interface IOrderPetAcquisitionService extends BaseService<OrderPetAcquisition> {

    PageList<OrderPetAcquisition> pageQuery(OrderPetAcquisitionQuery query, HttpServletRequest request);

    /**
     * 取消订单
     * @param id
     */
    void cancel(Long id);

    /**
     * 确认订单
     * @param orderDto
     */
    void confirm(OrderDto orderDto);
}
